home *** CD-ROM | disk | FTP | other *** search
- package javax.swing;
-
- import java.awt.Point;
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
- import java.awt.event.MouseEvent;
-
- class Autoscroller$AutoScrollTimerAction implements ActionListener {
- // $FF: synthetic field
- private final Autoscroller this$0;
-
- Autoscroller$AutoScrollTimerAction(Autoscroller var1) {
- this.this$0 = var1;
- }
-
- public void actionPerformed(ActionEvent var1) {
- if (this.this$0.component.isShowing() && this.this$0.event != null) {
- Point var2 = this.this$0.component.getLocationOnScreen();
- MouseEvent var3 = new MouseEvent(this.this$0.component, this.this$0.event.getID(), this.this$0.event.getWhen(), this.this$0.event.getModifiers(), this.this$0.event.getX() - var2.x, this.this$0.event.getY() - var2.y, this.this$0.event.getClickCount(), this.this$0.event.isPopupTrigger());
- this.this$0.component.superProcessMouseMotionEvent(var3);
- } else {
- this.this$0.stop();
- }
- }
- }
-